var isOn =true;

//检测isOn
setInterval(togVoi_index ,1);
//静音与否:声音块_控制块
$(document).on("click" ,"#togVoi" ,function(){isOn =!isOn; })

function togVoi_index(){var v=document.getElementById("_frame").contentWindow.document.getElementById("voi"); if(isOn) { if(v.paused) v.play(); } else{v.pause();} }